package org.jeecg.modules.scm.api;

import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.scm.api.factory.ScmInvItemRsApiFallbackFactory;
import org.jeecg.modules.scm.dto.EditInvItemRsDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "jeecg-scm/scm/invItemRs", fallbackFactory = ScmInvItemRsApiFallbackFactory.class)
@Component
public interface ScmInvItemRsApi {
    //--------------------资金方报文使用-------------------------
    /**
     * 更新关联表
     * */
    @PutMapping(value = "/editMsg")
    public Result<?> edit(@RequestBody EditInvItemRsDto dto);

}
